package com.link.base.base.competitor.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.link.base.base.competitor.model.Competitor;
import com.link.base.base.competitor.service.CompetitorService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import com.link.core.basic.service.KeyGenerateService;

/**
 * 竞争对手信息
 *
 * @author 王昊
 * @date 2020-09-16 17:22:04
 */
@Controller
@RequestMapping("/link/competitor")
public class CompetitorController extends BasicController<Competitor> {

    @Resource
    private KeyGenerateService keyGenerateService;

    @Resource
    private CompetitorService competitorService;

    @Override
    public BasicService<Competitor> getBasicService() throws Exception {
        return competitorService;
    }
}